<div class="ibox">
        <div class="ibox-title">
        <h5>推荐列表</h5>
    </div>
    <div class="ibox-content fadeInUp animated">
<form onsubmit="return false;" data-auto="" method="POST">
    <input type="hidden" value="resort" name="action"/>
    <table class="table table-hover">
        <thead>
            <tr>
                <th class='text-center'>推荐类型</th>
                <th class='text-center'>显示数量</th>
                <th class='text-center'>状态</th>
                <th class='text-center'>操作</th>
            </tr>
        </thead>
        <tbody>
            <#list list as list> 
            <tr>
            	<#if list.type ==1>  
                	<td class='text-center'>banner</td>
                <#elseif list.type==2>
                	<td class='text-center'>影片分类</td>
                <#else>
                	<td class='text-center'>精选影片</td>
               	</#if>
                <td class='text-center'>${list.num!""}</td>
                <td class='text-center'>
                	<span>${(list.status==0)?string("隐藏","<span style='color:#090'>显示</span>")}</span>
                </td>
                <td class='text-center nowrap'>
                	<#if list.type ==1>  
                    	<a data-open='banner/banner?id=${list.id!""}' href="javascript:void(0)">内容列表</a>
                	<#elseif list.type==2>
                		<a data-open='dic/type_index?pid=173' href="javascript:void(0)">内容列表</a>
                	<#else>
                		<a data-open='resource/selection_list' href="javascript:void(0)">内容列表</a>
                	</#if>
                	<span class="text-explode">|</span>
	                	<#if list.status==0>
	                    	<a data-update='${list.id!""}' data-field='status' data-value='1' data-action='banner/showOrHidden?status=1' href="javascript:void(0)">显示</a>
	                    <#else>
	                    	<a data-update='${list.id!""}' data-field='status' data-value='0' data-action='banner/showOrHidden?status=0' href="javascript:void(0)">隐藏</a>
	                    </#if>
                	<span class="text-explode">|</span>
                    <a data-update='${list.id!""}' data-action='banner/sortColumn?action=top' href="javascript:void(0)">置顶</a>
                    <span class="text-explode">|</span>
                    <a data-update='${list.id!""}' data-action='banner/sortColumn?action=up' href="javascript:void(0)">上移</a>
                    <span class="text-explode">|</span>
                    <a data-update='${list.id!""}' data-action='banner/sortColumn?action=down' href="javascript:void(0)">下移</a>
                </td>
            </tr>
            </#list>
        </tbody>
    </table>
</form>
</div>
</div>